<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            background: red;
            border: 1px solid black;
            transition: 4s;
            /* transition-delay: 2s; */
            transition-timing-function: linear;
        }
        div.box1{
            transition-timing-function: ease;
        }
        div.box2{
            transition-timing-function: ease-in;
        }
        div.box3{
            transition-timing-function: ease-out;
        }
        div.box4{
            transition-timing-function: ease-in-out;
        }
        div:hover{
            width: 300px;
        }
    </style>
</head>
<body>
    <h4>linear匀速</h4>
    <div>匀速</div>
    <div class="box1">ease</div>
    <div class="box2">ease-in</div>
    <div class="box3">ease-out</div>
    <div class="box4">ease-in-out</div>
</body>
</html>